package cn.legend.travel.destination.main.service.impl;

import cn.legend.travel.destination.main.dao.persist.repository.IAskRepository;
import cn.legend.travel.destination.main.pojo.vo.AskVO;
import cn.legend.travel.destination.main.service.IAskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AskServiceImpl implements IAskService {
    @Autowired
    private IAskRepository askRepository;
    @Override
    public List<AskVO> selectByCity(String city) {
        return askRepository.selectByCity(city);
    }
}
